import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      component: ()=>import('@/views/Info/InfoList.vue'),
    },
    {
      path: '/infoAdd',
      component: ()=>import('@/views/Info/InfoAdd.vue'),
    },
    {
      path: '/typeAdd',
      component: ()=>import('@/views/Info/TypeAdd.vue'),
    },

    {
      path: '/shopList',
      component: ()=>import('@/views/Shop/ShopList.vue'),
    },

    {
      path: '/shopUpd',
      component: ()=>import('@/views/Shop/ShopUpd.vue'),
    },
  ],
})

export default router
